/**
 * 系统更新日志 api 封装
 *
 * @Author:     
 * @Date:      2024-06-28 14:53:50
 * @Copyright   milk@qq.com
 */
import {uploadRequest, uploadWithOcrRequest} from '@/lib/smart-request';

export const fileApi = {
  upload: (file, folder) => {
    return uploadRequest(file, folder);
  },
  uploadWithOcr: (file, folder) => {
    return uploadWithOcrRequest(file, folder);
  },
};

